package com.somsoft.unlockme.db;

public class Level {

	private int level;//第几关 1-35
	private String isLock = "Y";//是否锁定
	private int score = 0 ;//得分0-3
	private String isGetScore = "N";//是否已获得积分
	private int step = 0;//移动方块的次数
	private int best = 0;//最好成绩
	private int totalScore;//游戏积分，用于跳关
	
	private int x,y;//坐标
	
	public Level(int level,String isLock,int score,String isGetScore,int step,int best,int totalScore){
		this.level = level;
		this.isLock = isLock;
		this.score = score;
		this.isGetScore = isGetScore;
		this.step = step;
		this.best = best;
		this.totalScore = totalScore;
	}
	
	public Level(int level){
		this.level = level;
	}

	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public String getIsLock() {
		return isLock;
	}
	public void setIsLock(String isLock) {
		this.isLock = isLock;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public String getIsGetScore() {
		return isGetScore;
	}
	public void setIsGetScore(String isGetScore) {
		this.isGetScore = isGetScore;
	}
	public int getStep() {
		return step;
	}
	public void setStep(int step) {
		this.step = step;
	}
	public int getBest() {
		return best;
	}
	public void setBest(int best) {
		this.best = best;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public int getTotalScore() {
		return totalScore;
	}

	public void setTotalScore(int totalScore) {
		this.totalScore = totalScore;
	}
}
